[INFO] cloning repository https://github.com/xiaoyureed/rust_tools
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xiaoyureed/rust_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoyureed%2Frust_tools", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoyureed%2Frust_tools'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 03c54ef44f3d78eb7318c2e0604a2b421de99d3e
[INFO] checking xiaoyureed/rust_tools against master#2e677c0645862d17a12c6d04b3019203c8e23fcc for pr-106493
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxiaoyureed%2Frust_tools" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/xiaoyureed/rust_tools on toolchain 2e677c0645862d17a12c6d04b3019203c8e23fcc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/xiaoyureed/rust_tools
[INFO] finished tweaking git repo https://github.com/xiaoyureed/rust_tools
[INFO] tweaked toml for git repo https://github.com/xiaoyureed/rust_tools written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/xiaoyureed/rust_tools already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 276b3ae5296c7f27d3b5fea9974d1c47f3389db0586014d5fc4bba4a1d9f76e4
[INFO] running `Command { std: "docker" "start" "-a" "276b3ae5296c7f27d3b5fea9974d1c47f3389db0586014d5fc4bba4a1d9f76e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "276b3ae5296c7f27d3b5fea9974d1c47f3389db0586014d5fc4bba4a1d9f76e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "276b3ae5296c7f27d3b5fea9974d1c47f3389db0586014d5fc4bba4a1d9f76e4", kill_on_drop: false }`
[INFO] [stdout] 276b3ae5296c7f27d3b5fea9974d1c47f3389db0586014d5fc4bba4a1d9f76e4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+2e677c0645862d17a12c6d04b3019203c8e23fcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a11f000e8c1efb0e536f3884536dc3ba57a551a0d9e0e0e9245c12b1ab819d79
[INFO] running `Command { std: "docker" "start" "-a" "a11f000e8c1efb0e536f3884536dc3ba57a551a0d9e0e0e9245c12b1ab819d79", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_tools v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/bin/chat_server.rs:96:5
[INFO] [stdout]     |
[INFO] [stdout] 25  | /     loop {
[INFO] [stdout] 26  | |         // 接收一个客户端的连接
[INFO] [stdout] 27  | |         let (mut socket_client, addr_client) = listener.accept()?;
[INFO] [stdout] 28  | |         //or
[INFO] [stdout] ...   |
[INFO] [stdout] 77  | |         // }
[INFO] [stdout] 78  | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 96  | /     match r.try_recv() {
[INFO] [stdout] 97  | |         Ok(msg) => {
[INFO] [stdout] 98  | |             clients = clients
[INFO] [stdout] 99  | |                 .into_iter()
[INFO] [stdout] ...   |
[INFO] [stdout] 107 | |         Err(_) => println!("error of try_recv"),
[INFO] [stdout] 108 | |     }
[INFO] [stdout]     | |_____^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/bin/chat_server.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let (s, r) = channel::<String>();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clients` is never read
[INFO] [stdout]   --> src/bin/chat_server.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             clients = clients
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `flag` is never read
[INFO] [stdout]   --> src/bin/port_sniffer.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct Args {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 77 |     flag: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `Ok(_)` and `Err(_)` not covered
[INFO] [stdout]   --> src/bin/chat_client.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 |         match r.try_recv() {}
[INFO] [stdout]    |               ^^^^^^^^^^^^ patterns `Ok(_)` and `Err(_)` not covered
[INFO] [stdout]    |
[INFO] [stdout] note: `Result<String, TryRecvError>` defined here
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/result.rs:503:1
[INFO] [stdout]   ::: /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/result.rs:507:5
[INFO] [stdout]    |
[INFO] [stdout]    = note: not covered
[INFO] [stdout]   ::: /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/result.rs:512:5
[INFO] [stdout]    |
[INFO] [stdout]    = note: not covered
[INFO] [stdout]    = note: the matched value is of type `Result<String, TryRecvError>`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
[INFO] [stdout]    |
[INFO] [stdout] 34 ~         match r.try_recv() {
[INFO] [stdout] 35 +             Ok(_) | Err(_) => todo!(),
[INFO] [stdout] 36 +         }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0004]: non-exhaustive patterns: `Ok(_)` and `Err(_)` not covered
[INFO] [stdout]   --> src/bin/chat_client.rs:34:15
[INFO] [stdout]    |
[INFO] [stdout] 34 |         match r.try_recv() {}
[INFO] [stdout]    |               ^^^^^^^^^^^^ patterns `Ok(_)` and `Err(_)` not covered
[INFO] [stdout]    |
[INFO] [stdout] note: `Result<String, TryRecvError>` defined here
[INFO] [stdout]   --> /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/result.rs:503:1
[INFO] [stdout]   ::: /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/result.rs:507:5
[INFO] [stdout]    |
[INFO] [stdout]    = note: not covered
[INFO] [stdout]   ::: /rustc/2e677c0645862d17a12c6d04b3019203c8e23fcc/library/core/src/result.rs:512:5
[INFO] [stdout]    |
[INFO] [stdout]    = note: not covered
[INFO] [stdout]    = note: the matched value is of type `Result<String, TryRecvError>`
[INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
[INFO] [stdout]    |
[INFO] [stdout] 34 ~         match r.try_recv() {
[INFO] [stdout] 35 +             Ok(_) | Err(_) => todo!(),
[INFO] [stdout] 36 +         }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/chat_client.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let (s, r) = channel::<String>();
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/bin/chat_client.rs:15:10
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let (s, r) = channel::<String>();
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/bin/chat_server.rs:96:5
[INFO] [stdout]     |
[INFO] [stdout] 25  | /     loop {
[INFO] [stdout] 26  | |         // 接收一个客户端的连接
[INFO] [stdout] 27  | |         let (mut socket_client, addr_client) = listener.accept()?;
[INFO] [stdout] 28  | |         //or
[INFO] [stdout] ...   |
[INFO] [stdout] 77  | |         // }
[INFO] [stdout] 78  | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 96  | /     match r.try_recv() {
[INFO] [stdout] 97  | |         Ok(msg) => {
[INFO] [stdout] 98  | |             clients = clients
[INFO] [stdout] 99  | |                 .into_iter()
[INFO] [stdout] ...   |
[INFO] [stdout] 107 | |         Err(_) => println!("error of try_recv"),
[INFO] [stdout] 108 | |     }
[INFO] [stdout]     | |_____^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0004`.
[INFO] [stdout] 
[INFO] [stdout] warning: field `flag` is never read
[INFO] [stdout]   --> src/bin/port_sniffer.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 76 | struct Args {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 77 |     flag: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/bin/chat_server.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let (s, r) = channel::<String>();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `clients` is never read
[INFO] [stdout]   --> src/bin/chat_server.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             clients = clients
[INFO] [stdout]    |             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_tools` due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust_tools` due to 2 previous errors; 1 warning emitted
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a11f000e8c1efb0e536f3884536dc3ba57a551a0d9e0e0e9245c12b1ab819d79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a11f000e8c1efb0e536f3884536dc3ba57a551a0d9e0e0e9245c12b1ab819d79", kill_on_drop: false }`
[INFO] [stdout] a11f000e8c1efb0e536f3884536dc3ba57a551a0d9e0e0e9245c12b1ab819d79
